package com.springweb.unit3.autowiredAmbiguity.impl;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

import com.springweb.unit3.autowiredAmbiguity.Cold;
import com.springweb.unit3.autowiredAmbiguity.Dessert;
@Component
@Cold
@Qualifier("cream")
public class IceCream implements Dessert {
	@Override
	public void dessertName() {
		System.out.println("dessertName - 冰淇淋");
	}

}
